package com.paas.form.entity;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_view_publish_approval")
@ApiModel(value="FormViewPublishApproval对象", description="")
public class FormViewPublishApprovalEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键id")
	@TableId
	private String id;

	@ApiModelProperty(value = "编码")
	@TableField("code")
	private String code;

	@ApiModelProperty(value = "名称")
	@TableField("name")
	private String name;

	@ApiModelProperty(value = "视图表单id")
	@TableField("view_form_id")
	private String viewFormId;

	@ApiModelProperty(value = "类型")
	@TableField("type")
	private String type;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "描述")
	@TableField("remark")
	private String remark;

	@ApiModelProperty(value = "修改人id")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "审批结果")
	@TableField("approval_result")
	private String approvalResult;

	@ApiModelProperty(value = "审批意见")
	@TableField("approval_comments")
	private String approvalComments;

	@ApiModelProperty(value = "审批次数")
	@TableField("approval_number")
	private String approvalNumber;

	@ApiModelProperty(value = "视图表")
	@TableField(exist = false)
	private String viewTable;

}